package server.webEE.bean;

import java.math.BigInteger;
import java.rmi.RemoteException;
import java.util.Properties;

import javax.ejb.EJBException;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;
import javax.naming.InitialContext;
import javax.naming.NamingException;

import weblogic.logging.NonCatalogLogger;


public class TestSessionLessBean implements SessionBean {

	private static final NonCatalogLogger LOG = new NonCatalogLogger(TestSessionLessBean.class.getName());

	/**
	 * 
	 */
	private static final long serialVersionUID = -9001437166211712361L;
	
	public void ejbCreate(){
		LOG.error("ejbCreateLESS");
	}
	public String myLog(){
		LOG.error("myLogLESS");
		return null;
	}
	public String myTransaction(){
		LOG.error("myTransactionLESS");
		return null;
	}
	
	public void monitoring(BigInteger bigInteger){
		LOG.error("monitoring");
	}
	
	public javax.naming.Context getInitialContext() throws NamingException{
		LOG.error("getInitialContextLESS");
		return new InitialContext(new Properties());
	}


	public void ejbActivate() throws EJBException, RemoteException {
		LOG.error("ejbActivateLESS");
		
	}

	public void ejbPassivate() throws EJBException, RemoteException {
		LOG.error("ejbPassivateLESS");
		
	}

	public void ejbRemove() throws EJBException, RemoteException {
		LOG.error("ejbRemoveLESS");
		
	}


	public void setSessionContext(SessionContext ctx) throws EJBException,
			RemoteException {
		LOG.error("setSessionContextLESS");
		
	}

}
